﻿using System;
using System.ComponentModel.DataAnnotations;

namespace SportClubMvc.Model.SportsClubClasses
{
    public class NewsModel
    {
        [Required]
        public int Id { get; set; }

        [Required]
        [StringLength(50)]
        public string Header { get; set; }

        [Required]
        [StringLength(2000)]
        public string Text { get; set; }

        [StringLength(500)]
        public string Ingress { get; set; }

        public DateTime DateCreated { get; set; }

        public string Creator { get; set; }

        public string HeaderImagePath { get; set; }
    }
}
